package com.zgl.modules.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_code")
public class CodeEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private String id;
    private int value;
private  int used;
    public int getValue() {
        return value;
    }
}
